﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BestLifePOS_Core.Data.Fascade;
using BestLifePOS_Core.DomainObjects;

namespace BestLifePOS_PresentationLayer
{
    public partial class frmshiftchangemenu : Form
    {
        #region Globel variables
        List<User> GvUserdetailList = new List<User>();
        string Gvterminalid = "";
        string Gvbranchname = "";
        #endregion

        public frmshiftchangemenu(List<User> userdetails,string terminal,string branchid)
        {
            InitializeComponent();

            #region Assign values To Gvs
            GvUserdetailList = userdetails;
            Gvterminalid = terminal;
            Gvbranchname = branchid;
            #endregion
        }

        private void frmshiftchangemenu_Load(object sender, EventArgs e)
        {
        }

        private void btnnormallog_Click(object sender, EventArgs e)
        {

            if (MessageBox.Show("Normal Login", "Warning", MessageBoxButtons.OKCancel) == DialogResult.OK)
            {
                frmcustomertype frmcustypr = new frmcustomertype(GvUserdetailList, Gvterminalid, Gvbranchname);
                frmcustypr.Show();
            }
            else
            {
                
            }
        }

        private void btnshiftchange_Click(object sender, EventArgs e)
        {

            if (MessageBox.Show("Shit Change", "Warning", MessageBoxButtons.OKCancel) == DialogResult.OK)
            {
                
            }
            else
            {
                 
            }
        }
    }
}
